Release 10.1A: OpenEdge Development:
Messaging and ESB
getMEMPTR function
Returns a reference to a
MEMPTRvariable that contains exactly all the bytes of aBytesMessage.Syntax
Applies to
Message objects
Notes
- This function implicitly calls the reset procedure.
- If the message was in a write-only mode, it will be in a read-only/reset mode after the call.
- The getMEMPTR function does not create a copy of the
MEMPTRvariable; it returns a reference to the data maintained by the Message object.- The deleteMessage procedure call releases the variable’s memory, and the caller must copy any data it needs or needs to modify before deleting the message.
See also
createBytesMessage procedure, setMemptr procedure, writeBoolean procedure, writeByte procedure, writeBytesFromRaw procedure, writeChar procedure, writeDate procedure, writeDateTime procedure, writeDateTime-TZ procedure, writeDouble procedure, writeFloat procedure, writeInt procedure, writeLong procedure, writeLongString procedure, writeShort procedure, writeString procedure, getBytesCount function, endOfStream function, moveToNext procedure, readBytesToRaw procedure, readChar function, readDate function, readDateTime function, readDateTime-TZ function, readDecimal function, readInt function, readLogical function, readLongString function, readLongStringCP function, getMEMPTR function
For more information, see the "BytesMessage" section.
For an example, see the "Publishing, subscribing, and receiving an XML document in a BytesMessage" section.
For more information, see the "StreamMessage" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |